//
//  MonthView.m
//  项目三
//
//  Created by rimi on 15/10/13.
//  Copyright (c) 2015年 rimi. All rights reserved.
//

#import "MonthView.h"

@interface MonthView ()

- (void)initializeUserInterface; /**< 初始化用户界面 */

@end

@implementation MonthView

- (instancetype)initWithFrame:(CGRect)frame sureBlock:(void(^)(NSString * selection))sure{
    
    if (self = [super initWithFrame:frame sureBlock:(void(^)(NSString * selection))sure]) {
        [self initializeUserInterface];
    }
    return self;
}
- (void)initializeUserInterface {
    
    [super initializeUserInterface];
    for (int i = 1; i < 13; i ++) {
        [self.dataSource addObject:[NSString stringWithFormat:@"%d",i]];
    }
}

@end
